import os
import time
import redis
from skspatial.objects import Points, Plane

if __name__ == '__main__':
    r = redis.Redis(db=0)

    while True:
        os.system('clear')

        print('x       \t %s' % r.get('cam_center_x').decode("utf-8"))
        print('y       \t %s' % r.get('cam_center_y').decode("utf-8"))
        print('z       \t %s' % r.get('cam_center_z').decode("utf-8"))

        time.sleep(0.1)